﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"  CodeBehind="CerereSoftware.aspx.cs" Inherits="IEWebSite.Pages.Intranet.CerereSoftware" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>
      Formular de cerere software
   </h1>
<div style="width:90%;" align="left">
    Laboratoare:<telerik:RadComboBox ID="rcbLab" runat="server" DataSourceID="SqlDataSource2" 
		DataTextField="Sala" DataValueField="IDLaborator" Skin="Default" AutoPostBack="True">
    </telerik:RadComboBox> 
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
		ConnectionString="<%$ ConnectionStrings:SiteIEConnectionString %>" 
		
        SelectCommand="SELECT IDLaborator, Sala FROM Laborator">
		
	</asp:SqlDataSource>
    <br></br>
    Disciplina:<telerik:RadComboBox ID="rcbDisciplina" runat="server" DataSourceID="SqlDataSource3" 
		DataTextField="Titlu" DataValueField="IDCurs" Skin="Default" AutoPostBack="True">
    </telerik:RadComboBox>  
    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
		ConnectionString="<%$ ConnectionStrings:SiteIEConnectionString %>" 
		
        SelectCommand="SELECT IDCurs, Titlu FROM Curs">
		
	</asp:SqlDataSource>
    <br></br>    Software disponibil la nivel de ASE:
    <telerik:RadComboBox ID="rcbSw" runat="server" DataSourceID="SqlDataSource1" 
		DataTextField="SoftwareTitle" DataValueField="IDSoftware" Skin="Default" AutoPostBack="True">
    </telerik:RadComboBox>
	<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
		ConnectionString="<%$ ConnectionStrings:SiteIEConnectionString %>" 
		
        SelectCommand="SELECT IDSoftware, SoftwareTitle FROM SysSoftware">
		
	</asp:SqlDataSource>
	<br></br>
	Software nou:<asp:TextBox ID="txtSoftware" runat="server" ReadOnly="True"></asp:TextBox>
	<br></br>
    <asp:Button ID="btnTrimite" runat="server" Text="Trimite" OnClick="btnTrimitere_Click" />
    <asp:Label ID="lblError" runat="server" Text="" Visible="false"></asp:Label>
	</div>
	</asp:Content>

